package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.OfficeSuppliesEntity;

/**
 * 办公用品Service接口
 *
 * @author cxl
 * @date 2024-06-09
 */
public interface IOfficeSuppliesService extends IService<OfficeSuppliesEntity> {
    /**
     * 查询办公用品
     *
     * @param id 办公用品ID
     * @return 办公用品
     */
    public OfficeSuppliesEntity selectOfficeSuppliesEntityById(String id);

    /**
     * 查询办公用品列表
     *
     * @param officeSuppliesEntity 办公用品
     * @return 办公用品集合
     */
    public List<OfficeSuppliesEntity> selectOfficeSuppliesEntityList(OfficeSuppliesEntity officeSuppliesEntity);

    /**
     * 新增办公用品
     *
     * @param officeSuppliesEntity 办公用品
     * @return 结果
     */
    public int insertOfficeSuppliesEntity(OfficeSuppliesEntity officeSuppliesEntity);

    /**
     * 修改办公用品
     *
     * @param officeSuppliesEntity 办公用品
     * @return 结果
     */
    public int updateOfficeSuppliesEntity(OfficeSuppliesEntity officeSuppliesEntity);

    /**
     * 批量删除办公用品
     *
     * @param ids 需要删除的办公用品ID
     * @return 结果
     */
    public int deleteOfficeSuppliesEntityByIds(String[] ids);

    /**
     * 删除办公用品信息
     *
     * @param id 办公用品ID
     * @return 结果
     */
    public int deleteOfficeSuppliesEntityById(String id);
}
